package cn.green.core.excel;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import org.apache.poi.ss.usermodel.Workbook;

/**
 * 接口：excel日志，需要被实现
 */
public interface QExcelLogger {

    JSONObject logPage(String source, String scheme, String tableName, Integer pageNo, Integer pageSize);

    JSONArray logList(String source, String scheme, String tableName);

    int insertSuccessLog(String source, String scheme, String tableName);

    int insertErrorLog(String source, String scheme, String tableName, Workbook workbook);
}
